package com.it.text;

import com.it.domain.Student;
import com.it.domain.Teacher;

public class Text {
    public static void main(String[] args) {
        Student s = new Student("张三",20,100.0);
        s.study();

        Teacher t = new Teacher("张老师",30);
        t.study();

    }



}
